package org.jeecg.modules.wangyue.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.wangyue.entity.ServiceItemsEvaluate;
import org.jeecg.modules.wangyue.mapper.ServiceItemsEvaluateMapper;
import org.jeecg.modules.wangyue.model.res.ResEvaluateItemsModel;
import org.jeecg.modules.wangyue.service.IServiceItemsEvaluateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 服务项目评价表
 * @Author: jeecg-boot
 * @Date:   2023-06-30
 * @Version: V1.0
 */
@Service
public class ServiceItemsEvaluateServiceImpl extends ServiceImpl<ServiceItemsEvaluateMapper, ServiceItemsEvaluate> implements IServiceItemsEvaluateService {

    @Autowired
    private ServiceItemsEvaluateMapper serviceItemsEvaluateMapper;

    @Override
    public IPage<ResEvaluateItemsModel> getItemsEvaluatePage(Page page, String serviceItemsCode) {
        return serviceItemsEvaluateMapper.queryItemsEvaluatePage(page, serviceItemsCode);
    }
}
